package com.yuke.cloud.service.cmc.service;

import com.yuke.cloud.service.api.pmc.dto.ProdSpecInfoDto;
import com.yuke.cloud.service.cmc.dto.CmsAppIds;
import com.yuke.cloud.service.cmc.dto.CmsAppTopicDataDetailDto;
import com.yuke.cloud.service.cmc.entity.CmsAppTopicData;
import com.yuke.cloud.common.core.support.IService;

import java.util.List;


/**
 * Created by wg on 2019/01/18.
 */
public interface CmsAppTopicDataService extends IService<CmsAppTopicData> {

    int deleteByTopicIds(String ids);
    int updateList(List<CmsAppTopicData> cmsAppTopicDatas);
    List<CmsAppTopicData> listByCondition(CmsAppTopicData cmsAppTopicData);
    List<CmsAppTopicDataDetailDto> getAppListByTopicIds(CmsAppIds cmsAppIds);
    List<ProdSpecInfoDto> getAppDetailByTopicId(CmsAppTopicDataDetailDto cmsAppTopicDataDetailDto);
    List<CmsAppTopicDataDetailDto> getAppDetailByTopicIds(CmsAppTopicDataDetailDto cmsAppTopicDataDetailDto);
    CmsAppTopicData findById(Long id, Boolean isPassByChildTopic);
    List<CmsAppTopicDataDetailDto> getFactoryDetail(List<CmsAppTopicDataDetailDto> cmsAppTopicDataDetailDtos);
    List<CmsAppTopicDataDetailDto> getRegionIntroduceInfoByIds(List<CmsAppTopicDataDetailDto> cmsAppTopicDataDetailDtos);
    List<CmsAppTopicDataDetailDto> getShopDetail(List<CmsAppTopicDataDetailDto> cmsAppTopicDataDetailDtos);
}
